package cn.tsa.factory.test1;

import cn.tsa.factory.test1.impl.FastHtmlDocument;
import cn.tsa.factory.test1.impl.FastWordDocument;

/**
 * @author hongwei
 */
public class FastFactory implements AbstractFactory {

    @Override
    public HtmlDocument createHtml(String md) {
        return new FastHtmlDocument(md);
    }

    @Override
    public WordDocument createWord(String md) {
        return new FastWordDocument(md);
    }
}